package org.webframe.beetlsql;

import java.lang.annotation.Annotation;

import org.beetl.sql.core.annotatoin.builder.AttributePersistBuilder;
import org.beetl.sql.core.db.AbstractDBStyle;
import org.beetl.sql.core.db.TableDesc;

/**
 * 注解方法
 * @author 1
 *
 */
public class SampleCreateByBuilder implements AttributePersistBuilder{

	public String toSql(AbstractDBStyle dbStyle, String fieldName, String colName, Annotation an, TableDesc tableDesc) {
		/*SysUser user = ShiroUtils.getUser();
		if(user!=null){
			return user.getUserId().toString();
		}*/
		return null;
	}

}
